<?php

include_once('../@base/portal.php');
include_once('../login/content.php');

$params = $post->params;
$user = $post->user;
$login = login($user->userstring, $user->userpasswd);
if ($login['status'] == 0 && $login['userbase']['level'] > 0) {
    output(doSummary($params));
}

function doSummary($params){
    $sql = "SELECT * FROM oprec_rectify_record WHERE eventTime >= '{$params->startTime}' AND eventTime<='{$params->endTime}'";
}

function getClientList(){
    $sql="SELECT * FROM oprec_security_data";
}